﻿using BreezeEditor.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace BreezeEditor
{
    public class TestContext : DbContext
    {
        public TestContext() : base("DefaultConnection") 
        {
            Configuration.LazyLoadingEnabled = true;
            Database.SetInitializer<TestContext>(new TestDbInitializer());
        }

        public DbSet<Person> Persons { get; set; }
    }
}